package com.richie696.domain;

import java.io.Serializable;
import java.util.Set;

public class ResourceInfo implements Serializable {

    private Long id;

    private String resourceName;

    private String src;

    private String orderBy;

    private Set<ElementInfo> elements;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public Set<ElementInfo> getElements() {
        return elements;
    }

    public void setElements(Set<ElementInfo> elements) {
        this.elements = elements;
    }

    @Override
    public String toString() {
        return "ResourceInfo{" +
                "id=" + id +
                ", resourceName='" + resourceName + '\'' +
                ", src='" + src + '\'' +
                ", orderBy='" + orderBy + '\'' +
                '}';
    }
}
